const Router = require('koa-router')
const { FindAll,FindOne } = require('../controller/goods.controller')

const router = new Router({ prefix: '/goods' })

router.post('/', FindAll)

router.get('/:id',FindOne)



module.exports = router